home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 120
/
Vol 120.iso
/
games
/
titans
/
beastboy.swf
/
scripts
/
DefineSprite_6_sbul2
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
500b
|
41 lines
xs = -8;
if(_xscale < 0)
{
xs = - xs;
}
if(!delay)
{
d = 5;
}
else
{
d = delay;
}
onenterframe = function()
{
_X = _X + xs;
if(_alpha > 50)
{
if(cekhitp(this))
{
if(xs > 0)
{
r.hd = 2;
}
else
{
r.hd = 1;
}
}
}
d--;
if(d < 0)
{
_alpha = _alpha - 30;
if(_alpha <= 0)
{
this.removeMovieClip();
}
}
};